package com.hotel.service;

import com.hotel.pojo.User;

import java.util.List;

public interface UserService {


     List<User> queryAllUsers();


    int updatePwd (User user);

    User findUser(String username,String password);

    void addUser(User user);

    void deleteUserById(Integer id);

    User queryUserById(Integer id);

    void updateUserById(User user);

    User queryUserByUsername(String findByUsername);
}
